import java.time.*;
import java.util.*;
import java.util.stream.Collectors;
import java.io.*;import java.io.Serializable;

class Seat implements Serializable {
    private int row;
    private int column;
    private boolean available;

    public Seat(int row, int column) {
        this.row = row;
        this.column = column;
        this.available = true;
    }

    public int getRow() { return row; }
    public int getColumn() { return column; }
    public boolean isAvailable() { return available; }

    public void setAvailable(boolean available) { this.available = available; }

    @Override
    public String toString() {
        return String.format("%d排%d座", row + 1, column + 1);
    }
}